@import url('https://fonts.font.im/css?family=Muli:600,800');

html,
body {
    margin: 0;
    font-family: 'Muli', "Microsoft Yahei", sans-serif;
}

p, h2, .verify-box{
    user-select: none;
}

p{
    text-align: center;
    font-size: 0.8em;
    color: #3d5245;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/images/background.jpg") fixed no-repeat;
    background-size: cover;
}
.text-container,
.login-form {
    width: 450px;
    height: 490px;
    display: flex;
    flex-direction: column;
    padding: 40px 40px 10px;
    text-align: center;
    position: relative;
    z-index: 100;
    background: inherit;
    border-radius: 18px;
    overflow: hidden; /* 隐藏多余的模糊效果 */
    flex-wrap: wrap;
}
.text-container::before,
.login-form::before {
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    position: absolute;
    top: -10px;
    left: -10px;
    overflow: hidden;
    background: inherit;
    box-shadow: inset 0 0 0 400px
    rgba(255, 255, 255, 0.25);
    filter: blur(10px);
    z-index: -1;
}
.text-container h1,
.login-form h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #3d5245;
}

.login-form textarea,
.login-form input,
.login-form button {
    margin: 6px 0;
    height: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0 14px;
    color: #3d5245;
}

.login-form textarea{
    resize: vertical;
    height: 100px;
}

.login-form textarea::placeholder,
.login-form input::placeholder {
    color: #3d5245;
}

/* 补充，取消选中高亮蓝框 */
.login-form textarea:focus,
.login-form button:focus,
.login-form input:focus {
    outline: 0;
}

.login-form button {
    margin-top: 10px;
    font-size: 1.2em;
    background-color: rgba(57, 88, 69, 0.4);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s;
}

.login-form button:hover {
    background-color: rgba(12, 80, 38, 0.67);
}

.login-form button:focus {
    outline: 0;
}

.login-form button::before,
.login-form button::after {
    content: "";
    display: block;
    width: 80px;
    height: 100%;
    background: rgba(179, 255, 210, 0.5);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    transform: skewX(-15deg);
    filter: blur(30px);
    overflow: hidden;
    transform: translateX(-100px);
}

.login-form button::after {
    width: 40px;
    background: rgba(179, 255, 210, 0.3);
    left: 60px;
    opacity: 0;
    filter: blur(5px);
}

.login-form button:hover::before {
    transition: 1s;
    transform: translateX(320px);
    opacity: 0.7;
}

.login-form button:hover::after {
    transition: 1s;
    transform: translateX(320px);
    opacity: 1;
}

.form-footer {
    position: absolute;
    align-self: center;
    alignment: bottom;
    bottom: 10px;
    font-size: 0.95em;
    text-align: center;
}

.form-connection {
    font-size: 0.8em;
}

.verify-box {
    font-size: 0.8em;
    color: #ff4f4f;
    display: none;
    transition: all 1.5s cubic-bezier(.87, .11, 1, .81);
}

a:link {
    color: #3d5251;
    text-decoration: underline;
}

a:hover {
    transform: scale(2);
    transition: 0.4s;
    color: whitesmoke;
    text-decoration: underline;
}

a:visited {
    color: #3d5251;
    text-decoration: underline;
}
